﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductUpdate.aspx.cs" Inherits="Manage_ProductUpdate" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="vbscript" type="text/vbscript">
        Sub SortSelect(byval id)
            Dim strReturnValue
	        strReturnValue = showModalDialog("../System/ProductSortSelect.aspx",null,"dialogWidth:320px;dialogHeight:480px;status:0;scroll:no;center:yes;help:no;")
	        If Len(strReturnValue) > 0 Then
	            document.all("txtSortId").value = Split(strReturnValue,vbCrLf)(0)
	            document.all("txtSortName").value = Split(strReturnValue,vbCrLf)(1)
	        End If
        End Sub
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1"
                class="table_table2">
                <tr>
                    <td class="table_td3">
                        大类</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtSortName" runat="server" NotNull="大类" ReadOnly Width="405px"></asp:TextBox>
                        <input name="txtSortId" type="hidden" style="width: 6px" />
                        <a href="javascript:SortSelect(0)">选择大类</a><asp:TextBox ID="txtSortId1" runat="server"
                            Width="14px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        品目号</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtProductCode" runat="server" InvertedComma="品目号" NotNull="品目号" Width="405px"></asp:TextBox><span
                            style="color: #cc0033">（*）</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        通用名</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtProductName" runat="server" NotNull="通用名" InvertedComma="通用名"
                            Width="405px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        剂型</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtMedicinemodel" runat="server" NotNull="剂型" InvertedComma="剂型"
                            Width="405px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        规格</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtOutlookC" runat="server" NotNull="规格" InvertedComma="规格" Width="405px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        单位</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtUnit" runat="server" InvertedComma="单位" Width="405px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        转换系数</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtXiShu" runat="server" NotNull="转换系数" NumericOnly="转换系数" Width="405px">1</asp:TextBox><span
                            style="color: #cc0033">（*）</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        装量</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtZL" runat="server" NotNull="装量" NumericOnly="装量" Width="405px">0</asp:TextBox><span
                            style="color: #cc0033">（*）</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        含量</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtHL" runat="server" NotNull="含量" NumericOnly="含量" Width="405px">0</asp:TextBox><span
                            style="color: #cc0033">（*）</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        是否医保</td>
                    <td class="table_td2">
                        <asp:CheckBox ID="chkIsMedicalCare" runat="server" Text="是" InvertedComma="通用名" />&nbsp;</td>
                </tr>
                <tr>
                    <td class="table_td3">
                        医保编码
                    </td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtMedicalCareCode" runat="server" InvertedComma="医保编码" Width="405px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        备注</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtRemark" runat="server" InvertedComma="备注" Height="104px" TextMode="MultiLine"
                            Width="405px"></asp:TextBox>
                        <asp:TextBox ID="txtProductId" runat="server" Width="17px"></asp:TextBox>
                        <asp:TextBox ID="txtAddDate" runat="server" Width="11px"></asp:TextBox>
                        <asp:TextBox ID="txtAccountId" runat="server" Width="22px"></asp:TextBox>
                        </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        <asp:Button ID="Button1" CssClass="button_bg" runat="server" OnClick="Button1_Click"
                            Text="保  存" OnClientClick="javascript:return CheckForm();" />
                    </td>
                    <td class="table_td2">
                        <input id="Button4" class="button_bg" name="sdf" type="button" value="关  闭" onclick="window.close()" /></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
